package com.swift.violent.mainstay.log.model;

import com.swift.violent.mainstay.common.constants.Global;
import com.swift.violent.mainstay.log.enums.BusinessType;
import com.swift.violent.mainstay.log.enums.OperatorType;
import lombok.Data;

/**
 * 日志注解对应bean
 *
 * @author xuhaifeng
 * @date 2021.1.30 11:19
 */
@Data
public class LogBean {
    /**
     * 模块
     */
    private String title = Global.NOT;

    /**
     * 功能
     */
    private BusinessType businessType = BusinessType.OTHER;

    /**
     * 操作人类别
     */
    private OperatorType operatorType = OperatorType.OTHER;

    /**
     * 是否保存请求的参数
     */
    private boolean isSaveRequestData = true;
}
